import { jsx } from 'react/jsx-runtime';

function editPen (props) {
    const name = props.className;
    let className = 'w-svg';
    if (name) {
        className += ' ' + name;
    }
    let fn = props.onClick;
    let fnClick;
    if (fn) {
        fnClick = (e) => {
            fn(e);
        };
    }
    return (jsx("span", { onClick: fnClick, className: className, style: { fontSize: props.fontSize, color: props.color }, children: jsx("svg", { viewBox: "0 0 1024 1024", width: "1em", height: "1em", fill: "currentColor", children: jsx("path", { d: "M326.4 566.4L273.92 768a32 32 0 0 0 31.36 40.96h12.8l180.48-49.28h5.76l495.36-512a82.56 82.56 0 0 0 21.76-64 103.04 103.04 0 0 0-28.16-70.4l-47.36-55.04a97.28 97.28 0 0 0-64-30.08 81.92 81.92 0 0 0-56.96 23.68l-494.72 512z m623.36-380.8l-48.64 50.56-80-84.48 48.64-50.56a23.04 23.04 0 0 1 31.36 0l47.36 48a28.8 28.8 0 0 1 7.68 18.56 22.4 22.4 0 0 1-5.12 14.08zM414.72 576L768 204.8l80 84.48-353.28 368.64z m-64 149.76l26.24-97.92 68.48 72.32z m622.72-332.16a26.24 26.24 0 0 0-21.76 7.68 32 32 0 0 0-11.52 27.52v478.08a46.08 46.08 0 0 1-44.16 45.44H128a43.52 43.52 0 0 1-30.72-14.08 44.8 44.8 0 0 1-12.8-31.36V122.24a44.8 44.8 0 0 1 12.8-32A42.88 42.88 0 0 1 128 76.8h505.6a34.56 34.56 0 0 0 32-35.84 37.12 37.12 0 0 0-9.6-24.96 37.76 37.76 0 0 0-30.08-10.24H120.96a110.08 110.08 0 0 0-78.08 32 113.28 113.28 0 0 0-32 78.72v790.4a107.52 107.52 0 0 0 30.72 78.08 104.96 104.96 0 0 0 76.8 33.28H896a108.16 108.16 0 0 0 106.88-110.08V427.52a33.92 33.92 0 0 0-9.6-24.96 35.2 35.2 0 0 0-24.96-10.24z m0-5.12" }) }) }));
}

export { editPen as default };
